package yygh.hosp.Service;

import yygh.hospital.model.hosp.Hospital;
import yygh.hospital.vo.hosp.HospitalQueryVo;
import org.springframework.data.domain.Page;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

@Repository
public interface HospitalService  {
    void save(Map<String, Object> map);

    Hospital getByHoscode(String hoscode);

    Page<Hospital> getPage(Integer page, Integer limit, HospitalQueryVo hospitalQueryVo);

    void updateHospStatus(String id, int status);

    Map<Object, Object> getHospById(String id);

    String getHospName(String hoscode);

    List<Hospital> getByHospName(String hospName);

    Map<String, Object> item(String hoscode);


}
